﻿<script type="text/javascript">
  var bieżącyKrok = 0;
  function ustawPasek(wartość)
  {
    wartość = parseInt(wartość);
    if(isNaN(wartość))
      wartość = 0;
    if(wartość < 0) wartość = 0;
    if(wartość > 100) wartość = 100;
    bieżącyKrok = wartość;
    var wew = document.getElementById('divPasekWew');
    if(wew){
      wew.style.width = wartość + "%";
    }
  }
</script>